<template>
  <div>
    <vue-qr :text="text" :logoSrc="imageUrl"></vue-qr>
  </div>
</template>

<script>
  import vueQr from 'vue-qr';
  export default {
    name: 'index',
    components: {
      vueQr
    },
    data(){
      return{
        imageUrl: require('@/assets/img/home/logo.png'),
        text: '这是要转换二维码的参数'
      }
    }
  }
</script>

<style scoped>

</style>
